{% extends "light.twig" %}

{% block title %}ONKI: {{ vocab_id|upper }}{% endblock %}
{% block content %}
<div id="maincontent">
  {% include 'vocab-search-nav-bar.twig' %}
    <div id="vocab-content">
      <div id="vocab-info" class="boxed">
        <h3>{% trans "Vocabulary statistics" %}</h3><br />
        <br /><h3>{% trans "Concepts: " %} {{ vocab_stats.concepts }}</h3>
        <br />
        <table class="vocab-statistics-table" id="statistics">
        <tr>
          <th></th>
          <th>{% trans %}Preferred terms{% endtrans %}</th>
          <th>{% trans %}Alternate terms{% endtrans %}</th>
          <th>{% trans %}Hidden terms{% endtrans %}</th>
        </tr>
        {% for lang,stats in vocab_stats['terms'] %}
        <tr>
          <th>{{ lang }}</th>
          <td>{{ stats['skos:prefLabel'] }}</td>
          <td>{{ stats['skos:altLabel'] }}</td>
          <td>{{ stats['skos:hiddenLabel'] }}</td>
        </tr>
        {% endfor %}
        </table>
      </div>
    </div>
</div>
{% endblock %}
